www.gusucode.com > 红色大方的企业网站源码 1 > 红色大方的企业网站源码 1.0/qiye_red/head.asp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <TITLE><%=SiteTitle%></TITLE> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <META content=<%=Sitekey%> name=keywords> <META content=<%=Sitedes%> name=description> <LINK href="imgbsy/css.css" type=text/css rel=stylesheet> <% function cutstr(tempstr,tempwid) if len(tempstr)>tempwid then cutstr=left(tempstr,tempwid)&"..." else cutstr=tempstr end if end function%> <SCRIPT language=JavaScript type=text/JavaScript> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </SCRIPT> </HEAD> <BODY onload="MM_preloadImages('imgbsy/menu2-1.gif','imgbsy/menu3-1.gif','imgbsy/menu4-1.gif','imgbsy/menu5-1.gif','imgbsy/menu6-1.gif','imgbsy/menu7-1.gif')"> <table cellspacing="0" cellpadding="0" width="1000" align="center" border="0"> <tbody> <tr valign="top"> <td height="69" background="imgbsy/fbjx_01.jpg" ><img src="imgbsy/logo.gif" width="754" height="69" /></td> <td width="132" height="69"> <A href="javascript:window.external.addFavorite(window.location.href,'全能型企业网站系统')"><img height="69" src="imgbsy/top1.gif" width="132" border="0" /></A></td> <td width="114"> <A onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.webxgn.com/');" href="#"><img height="69" src="imgbsy/top2.gif" width="114" border="0" /></A> </td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" width="1000" align="center" border="0"> <tbody> <tr> <td width="1000" background="imgbsy/001.jpg" height="206"> <% set rsshow=server.createobject("adodb.recordset") sql="select * from newpic" rsshow.open sql,conn,1,3 pic1=rsshow("pic1") pic2=rsshow("pic2") pic3=rsshow("pic3") pic4=rsshow("pic4") pic5=rsshow("pic5") pic6=rsshow("pic6") movie1=rsshow("movie1") movie2=rsshow("movie2") movie3=rsshow("movie3") movie4=rsshow("movie4") movie5=rsshow("movie5") movie6=rsshow("movie6") rsshow.close set rsshow=nothing %> <SCRIPT type=text/javascript> var img=new Array(); var txt=new Array(); var lnk=new Array(); img[0]='<%=pic1%>' lnk[0]=escape('<%=movie1%>'); txt[0]=''; img[1]='<%=pic2%>' lnk[1]=escape('<%=movie2%>'); txt[1]=''; img[2]='<%=pic3%>' lnk[2]=escape('<%=movie3%>'); txt[2]=''; img[3]='<%=pic4%>' lnk[3]=escape('<%=movie4%>'); txt[3]=''; img[4]='<%=pic5%>' lnk[4]=escape('<%=movie5%>'); txt[4]=''; var focus_width=1002; var focus_height=208; var text_height=0; var swf_height = focus_height+text_height; var pics=img.join("|"); var links=lnk.join("|"); var texts=txt.join("|"); document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[url]http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6[/url],0,0,0" width=1000 height=206>'); document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="flash/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">'); document.write('<param name="menu" value="false"/><param name="wmode" value="transparent"/>'); document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">'); document.write('<embed src="flash/pixviewer.swf" wmode="transparent" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[url]http://www.macromedia.com/go/getflashplayer[/url]" />'); document.write('</object>'); </SCRIPT> </td> </tr> </tbody> </table> <table cellspacing="0" cellpadding="0" width="1000" align="center" border="0"> <tbody> <tr> <td><a href="Index.asp"><img src="imgbsy/menu1.gif" name="Image1" width="141" height="50" border="0" id="Image1" /></a></td> <td><a onmouseover="MM_swapImage('Image2','','imgbsy/menu2-1.gif',1)" onmouseout="MM_swapImgRestore()" href="Aboutus.asp?Title=企业简介"><img src="imgbsy/menu2.gif" name="Image2" width="137" height="50" border="0" id="Image2" /></a></td> <td><a onmouseover="MM_swapImage('Image3','','imgbsy/menu3-1.gif',1)" onmouseout="MM_swapImgRestore()" href="Product.asp"><img src="imgbsy/menu3.gif" name="Image3" width="141" height="50" border="0" id="Image3" /></a></td> <td><a onmouseover="MM_swapImage('Image4','','imgbsy/menu4-1.gif',1)" onmouseout="MM_swapImgRestore()" href="NewsClass.asp?BigClass=企业新闻"><img src="imgbsy/menu4.gif" name="Image4" width="140" height="50" border="0" id="Image4" /></a></td> <td><a onmouseover="MM_swapImage('Image5','','imgbsy/menu5-1.gif',1)" onmouseout="MM_swapImgRestore()" href="HrDemand.asp"><img src="imgbsy/menu5.gif" name="Image5" width="140" height="50" border="0" id="Image5" /></a></td> <td><a onmouseover="MM_swapImage('Image6','','imgbsy/menu6-1.gif',1)" onmouseout="MM_swapImgRestore()" href="Feedback.asp"><img src="imgbsy/menu6.gif" name="Image6" width="147" height="50" border="0" id="Image6" /></a></td> <td><a onmouseover="MM_swapImage('Image7','','imgbsy/menu7-1.gif',1)" onmouseout="MM_swapImgRestore()" href="Aboutus.asp?Title=联系我们"><img src="imgbsy/menu7.gif" name="Image7" width="154" height="50" border="0" id="Image7" /></a></td> </tr> </tbody> </table>